package com.feisuanyz.query;

import jakarta.validation.constraints.NotNull;
import lombok.*;

/**
 * <p>
 *   更新通知状态查询对象
 * </p>
 * @author 23265
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UpdateNotificationStatusQuery {

    @NotNull(message = "通知ID不能为空")
    private Integer notificationId;

    @NotNull(message = "通知可用状态不能为空")
    private Boolean isActive;
}